﻿#ifndef MASTERTHREAD_H
#define MASTERTHREAD_H
 
#include <QMutex>
#include <QThread>
#include <QWaitCondition>

class MasterThread : public QThread
{
    Q_OBJECT
public:
    explicit MasterThread(QObject *parent = nullptr);
    ~MasterThread();

signals:
    void response(const QString &s);
    void error(const QString &s);
    void timeout(const QString &s);

private:
    void run() override;


    bool m_quit = false;

};

#endif // MASTERTHREAD_H
